package com.infocollect.project.api.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.infocollect.project.api.entity.TappApiOpertionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* (TappApiopertion)表Mapper类
*
* @author Mr.Wang
* @version 1.0
* @since 2020/6/1 21:28
*/

public interface TappApiOpertionMapper extends BaseMapper<TappApiOpertionEntity> {
    TappApiOpertionEntity queryById(Integer id);
    List<TappApiOpertionEntity> queryAll(TappApiOpertionEntity entity);

    /**
     * 根据ApiCode 获取Api查询信息
     * @param apicode
     * @return
     */
    TappApiOpertionEntity queryByApiCode(@Param("apicode") String apicode);
}